﻿


using SqlSugar;
using ZR.Model;

namespace ImportPlcPointPosition.Models
{
    /// <summary>
    /// 采集明细
    /// </summary>
    [SugarTable("cks_collected_details")]

    public class CksCollectedDetails : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 采集批次 
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 虚拟表名 
        /// </summary>
        public int TableId { get; set; }

        

        /// <summary>
        /// PlcId 
        /// </summary>
        public int PlcId { get; set; }

        /// <summary>
        /// 列名 
        /// </summary>
        public string ColumnName { get; set; } = string.Empty;

        /// <summary>
        /// 列Key 
        /// </summary>
        public string ColumnKey { get; set; } = string.Empty;

        /// <summary>
        /// 采集内容 
        /// </summary>
        public string Content { get; set; } = string.Empty;

   
        /// <summary>
        /// 用于索引优化
        /// </summary>
        public string BatchSuffix {  get; set; } = string.Empty;

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; }

       

    }
}